Connection key distribution

ABSTRACT

A system and method for securely providing a mobile device with a cryptographic key in a vehicle. The method includes generating a cryptographic key pair that includes a first and second cryptographic keys. One of the keys is used to create a scannable image which is then incorporated into a label that is displayed in the vehicle, either as a physical label mounted in the vehicle or via a display screen within the vehicle. The label containing the scannable image can then be read by a mobile device at the vehicle, thereby providing the one key to the mobile device for use in sending communications to the vehicle.

TECHNICAL FIELD

The present invention relates to secure communication between a vehicleand a mobile device, and more specifically distributing a secret key tothe mobile device for communicating with the vehicle.

BACKGROUND

Transport Layer Security (TLS) is a known technology used in digitalnetworks to establish and carry out secure communication between twoentities. The communicating entities can be devices such as computers orother electronic apparatuses capable of digital communication, and thetwo entities may be communicating as peers or in a client/serverconfiguration. TLS is implemented using digital certificates which,through public key cryptography (i.e., using public key infrastructure,PKI) and a common trusted entity, enable one or both of thecommunicating entities to authenticate the other and enable the twoentities to exchange information confidentially. Secure Socket Layers(SSL) is an earlier form or predecessor of TLS that has been widely usedover the Internet.

TLS is commonly used in TCP/IP networks using X.509 digital certificateswhich are typically issued by a trusted third party certificateauthority (CA) and signed with the CA's private key. The holder(subject) of the certificate can then use it to authenticate itself toother entities. The associated CA public key is distributed to thoseentities as a part of a self-signed certificate. Authentication of areceived digital certificate then involves using the CA's public key todecrypt the digital signature and compare the result to the contentsactually contained in the certificate. More specifically, when thecertificate is originally signed, a hash is performed of thecertificate's contents and the result is encrypted using the CA'sprivate key. This encrypted result is used as the digital signature andis appended to the certificate. Then, to authenticate, a recipient ofthe certificate uses the public key to decrypt the hash, and thencompares this decrypted hash result with its own hash of the receivedcertificate data items that it takes using the same hash function. Ifthe two results match, then this indicates that the contents of thecertificate are authentic. That authenticated content includes thecertificate holder's (subject's) identity and public key so that therecipient of the certificate can now know that the identity is authenticand can communicate confidentially with the subject using its publickey.

SUMMARY

According to an embodiment of the invention, there is provided a methodof securely providing a mobile device with a cryptographic key in avehicle. The method includes generating a cryptographic key pair. Thekey pair may include at least a first cryptographic key and a secondcryptographic key. The method may further include creating a label usinga scannable image readable by a mobile device; the scannable image maybe based on the second cryptographic key. And the method may includeproviding the label to the vehicle for displaying the scannable image.

According to another embodiment of the invention, there is provided amethod of secure communication between a vehicle and a mobile device.The method includes generating a cryptographic key pair. The key pairmay include at least a first cryptographic key and a secondcryptographic key. The method may include providing the firstcryptographic key to a vehicle telematics unit (VTU) and providingwithin the vehicle a scannable image associated with the secondcryptographic key. The scannable image may be readable by the mobiledevice using a software application installed on the mobile device. Themethod may include receiving a message from the mobile device that issigned using the second cryptographic key. This may occur after themobile device has scanned the scannable image and extracted the secondkey. And the method may include deciphering the message using the firstcryptographic key.

BRIEF DESCRIPTION OF THE DRAWINGS

One or more embodiments of the invention will hereinafter be describedin conjunction with the appended drawings, wherein like designationsdenote like elements, and wherein:

FIG. 1 is a block diagram depicting an embodiment of a communicationssystem that is capable of utilizing the method disclosed herein;

FIG. 2 is a flow diagram depicting an exemplary embodiment of the systemand method; and

FIG. 3 is a flow diagram depicting another exemplary embodiment.

DETAILED DESCRIPTION OF THE ILLUSTRATED EMBODIMENT(S)

The system and methods described below pertain to secure communicationsbetween a vehicle and a cellular or mobile device. One way to provide asecure communication between the vehicle and mobile device is to encryptmessages transmitted between the entities. This may be accomplishedwhere at least one of the entities holds or keeps a private key. Thedescribed methods specifically pertain, at least in part, to providing aprivate key to the mobile device and thereafter using the providedprivate key. The system and operating environment are discussed prior toa discussion of the methods.

Communications System—

With reference to FIG. 1, there is shown an operating environment thatcomprises a mobile vehicle communications system 10 and that can be usedto implement the method disclosed herein. Communications system 10generally includes a vehicle 12, one or more wireless carrier systems14, a land communications network 16, a computer 18, and a call center20. It should be understood that the disclosed method can be used withany number of different systems and is not specifically limited to theoperating environment shown here. Also, the architecture, construction,setup, and operation of the system 10 and its individual components aregenerally known in the art. Thus, the following paragraphs simplyprovide a brief overview of one such communications system 10; however,other systems not shown here could employ the disclosed method as well.

Vehicle 12 is depicted in the illustrated embodiment as a passenger car,but it should be appreciated that any other vehicle includingmotorcycles, trucks, sports utility vehicles (SUVs), recreationalvehicles (RVs), marine vessels, aircraft, etc., can also be used. Someof the vehicle electronics 28 is shown generally in FIG. 1 and includesa telematics unit 30, a microphone 32, one or more pushbuttons or othercontrol inputs 34, an audio system 36, a visual display 38, and a GPSmodule 40 as well as a number of vehicle system modules (VSMs) 42. Someof these devices can be connected directly to the telematics unit suchas, for example, the microphone 32 and pushbutton(s) 34, whereas othersare indirectly connected using one or more network connections, such asa communications bus 44 or an entertainment bus 46. Examples of suitablenetwork connections include a controller area network (CAN), a mediaoriented system transfer (MOST), a local interconnection network (LIN),a local area network (LAN), and other appropriate connections such asEthernet or others that conform with known ISO, SAE and IEEE standardsand specifications, to name but a few.

Telematics unit 30 can be an OEM-installed (embedded) or aftermarketdevice that is installed in the vehicle and that enables wireless voiceand/or data communication over wireless carrier system 14 and viawireless networking (e.g., the installation and any necessary servicemay be performed by a vehicle manufacturer or vehicle service center).This enables the vehicle to communicate with call center 20, othertelematics-enabled vehicles, or some other entity or device. Thetelematics unit preferably uses radio transmissions to establish acommunications channel (a voice channel and/or a data channel) withwireless carrier system 14 so that voice and/or data transmissions canbe sent and received over the channel. By providing both voice and datacommunication, telematics unit 30 enables the vehicle to offer a numberof different services including those related to navigation, telephony,emergency assistance, diagnostics, infotainment, etc. Data can be senteither via a data connection, such as via packet data transmission overa data channel, or via a voice channel using techniques known in theart. For combined services that involve both voice communication (e.g.,with a live advisor or voice response unit at the call center 20) anddata communication (e.g., to provide GPS location data or vehiclediagnostic data to the call center 20), the system can utilize a singlecall over a voice channel and switch as needed between voice and datatransmission over the voice channel, and this can be done usingtechniques known to those skilled in the art.

According to one embodiment, telematics unit 30 utilizes cellularcommunication according to either GSM or CDMA standards and thusincludes a standard cellular chipset 50 for voice communications likehands-free calling, a wireless modem for data transmission, anelectronic processing device 52, one or more digital memory devices 54,and a dual antenna 56. It should be appreciated that the modem caneither be implemented through software that is stored in the telematicsunit and is executed by processor 52, or it can be a separate hardwarecomponent located internal or external to telematics unit 30. The modemcan operate using any number of different standards or protocols such asEVDO, CDMA, GPRS, and EDGE. Wireless networking between the vehicle andother networked devices can also be carried out using telematics unit30. For this purpose, telematics unit 30 can be configured tocommunicate wirelessly according to one or more wireless protocols, suchas any of the IEEE 802.11 protocols, WiMAX, or Bluetooth. When used forpacket-switched data communication such as TCP/IP, the telematics unitcan be configured with a static IP address or can set up toautomatically receive an assigned IP address from another device on thenetwork such as a router or from a network address server.

Processor 52 can be any type of device capable of processing electronicinstructions including microprocessors, microcontrollers, hostprocessors, controllers, vehicle communication processors, andapplication specific integrated circuits (ASICs). It can be a dedicatedprocessor used only for telematics unit 30 or can be shared with othervehicle systems. Processor 52 executes various types of digitally-storedinstructions, such as software or firmware programs stored in memory 54,which enable the telematics unit to provide a wide variety of services.For instance, processor 52 can execute programs or process data to carryout at least a part of the method discussed herein.

Telematics unit 30 can be used to provide a diverse range of vehicleservices that involve wireless communication to and/or from the vehicle.Such services include: turn-by-turn directions and othernavigation-related services that are provided in conjunction with theGPS-based vehicle navigation module 40; airbag deployment notificationand other emergency or roadside assistance-related services that areprovided in connection with one or more collision sensor interfacemodules such as a body control module (not shown); diagnostic reportingusing one or more diagnostic modules; and infotainment-related serviceswhere music, webpages, movies, television programs, videogames and/orother information is downloaded by an infotainment module (not shown)and is stored for current or later playback. The above-listed servicesare by no means an exhaustive list of all of the capabilities oftelematics unit 30, but are simply an enumeration of some of theservices that the telematics unit is capable of offering. Furthermore,it should be understood that at least some of the aforementioned modulescould be implemented in the form of software instructions saved internalor external to telematics unit 30, they could be hardware componentslocated internal or external to telematics unit 30, or they could beintegrated and/or shared with each other or with other systems locatedthroughout the vehicle, to cite but a few possibilities. In the eventthat the modules are implemented as VSMs 42 located external totelematics unit 30, they could utilize vehicle bus 44 to exchange dataand commands with the telematics unit.

GPS module 40 receives radio signals from a constellation 60 of GPSsatellites. From these signals, the module 40 can determine vehicleposition that is used for providing navigation and otherposition-related services to the vehicle driver. Navigation informationcan be presented on the display 38 (or other display within the vehicle)or can be presented verbally such as is done when supplying turn-by-turnnavigation. The navigation services can be provided using a dedicatedin-vehicle navigation module (which can be part of GPS module 40), orsome or all navigation services can be done via telematics unit 30,wherein the position information is sent to a remote location forpurposes of providing the vehicle with navigation maps, map annotations(points of interest, restaurants, etc.), route calculations, and thelike. The position information can be supplied to call center 20 orother remote computer system, such as computer 18, for other purposes,such as fleet management. Also, new or updated map data can bedownloaded to the GPS module 40 from the call center 20 via thetelematics unit 30.

Apart from the audio system 36 and GPS module 40, the vehicle 12 caninclude other vehicle system modules (VSMs) 42 in the form of electronichardware components that are located throughout the vehicle andtypically receive input from one or more sensors and use the sensedinput to perform diagnostic, monitoring, control, reporting and/or otherfunctions. Each of the VSMs 42 is preferably connected by communicationsbus 44 to the other VSMs, as well as to the telematics unit 30, and canbe programmed to run vehicle system and subsystem diagnostic tests. Asexamples, one VSM 42 can be an engine control module (ECM) that controlsvarious aspects of engine operation such as fuel ignition and ignitiontiming, another VSM 42 can be a powertrain control module that regulatesoperation of one or more components of the vehicle powertrain, andanother VSM 42 can be a body control module that governs variouselectrical components located throughout the vehicle, like the vehicle'spower door locks and headlights. According to one embodiment, the enginecontrol module is equipped with on-board diagnostic (OBD) features thatprovide myriad real-time data, such as that received from varioussensors including vehicle emissions sensors, and provide a standardizedseries of diagnostic trouble codes (DTCs) that allow a technician torapidly identify and remedy malfunctions within the vehicle. As isappreciated by those skilled in the art, the above-mentioned VSMs areonly examples of some of the modules that may be used in vehicle 12, asnumerous others are also possible.

Vehicle electronics 28 also includes a number of vehicle user interfacesthat provide vehicle occupants with a means of providing and/orreceiving information, including microphone 32, pushbuttons(s) 34, audiosystem 36, and visual display 38. As used herein, the term ‘vehicle userinterface’ broadly includes any suitable form of electronic device,including both hardware and software components, which is located on thevehicle and enables a vehicle user to communicate with or through acomponent of the vehicle. Microphone 32 provides audio input to thetelematics unit to enable the driver or other occupant to provide voicecommands and carry out hands-free calling via the wireless carriersystem 14. For this purpose, it can be connected to an on-boardautomated voice processing unit utilizing human-machine interface (HMI)technology known in the art. The pushbutton(s) 34 allow manual userinput into the telematics unit 30 to initiate wireless telephone callsand provide other data, response, or control input. Separate pushbuttonscan be used for initiating emergency calls versus regular serviceassistance calls to the call center 20. Audio system 36 provides audiooutput to a vehicle occupant and can be a dedicated, stand-alone systemor part of the primary vehicle audio system. According to the particularembodiment shown here, audio system 36 is operatively coupled to bothvehicle bus 44 and entertainment bus 46 and can provide AM, FM andsatellite radio, CD, DVD and other multimedia functionality. Thisfunctionality can be provided in conjunction with or independent of theinfotainment module described above. Visual display 38 is preferably agraphics display, such as a touch screen on the instrument panel or aheads-up display reflected off of the windshield, and can be used toprovide a multitude of input and output functions. Various other vehicleuser interfaces can also be utilized, as the interfaces of FIG. 1 areonly an example of one particular implementation.

Wireless carrier system 14 is preferably a cellular telephone systemthat includes a plurality of cell towers 70 (only one shown), one ormore mobile switching centers (MSCs) 72, as well as any other networkingcomponents required to connect wireless carrier system 14 with landnetwork 16. Each cell tower 70 includes sending and receiving antennasand a base station, with the base stations from different cell towersbeing connected to the MSC 72 either directly or via intermediaryequipment such as a base station controller. Cellular system 14 canimplement any suitable communications technology, including for example,analog technologies such as AMPS, or the newer digital technologies suchas CDMA (e.g., CDMA2000) or GSM/GPRS. As will be appreciated by thoseskilled in the art, various cell tower/base station/MSC arrangements arepossible and could be used with wireless system 14. For instance, thebase station and cell tower could be co-located at the same site or theycould be remotely located from one another, each base station could beresponsible for a single cell tower or a single base station couldservice various cell towers, and various base stations could be coupledto a single MSC, to name but a few of the possible arrangements.

Apart from using wireless carrier system 14, a different wirelesscarrier system in the form of satellite communication can be used toprovide uni-directional or bi-directional communication with thevehicle. This can be done using one or more communication satellites 62and an uplink transmitting station 64. Uni-directional communication canbe, for example, satellite radio services, wherein programming content(news, music, etc.) is received by transmitting station 64, packaged forupload, and then sent to the satellite 62, which broadcasts theprogramming to subscribers. Bi-directional communication can be, forexample, satellite telephony services using satellite 62 to relaytelephone communications between the vehicle 12 and station 64. If used,this satellite telephony can be utilized either in addition to or inlieu of wireless carrier system 14.

Land network 16 may be a conventional land-based telecommunicationsnetwork that is connected to one or more landline telephones andconnects wireless carrier system 14 to call center 20. For example, landnetwork 16 may include a public switched telephone network (PSTN) suchas that used to provide hardwired telephony, packet-switched datacommunications, and the Internet infrastructure. One or more segments ofland network 16 could be implemented through the use of a standard wirednetwork, a fiber or other optical network, a cable network, power lines,other wireless networks such as wireless local area networks (WLANs), ornetworks providing broadband wireless access (BWA), or any combinationthereof. Furthermore, call center 20 need not be connected via landnetwork 16, but could include wireless telephony equipment so that itcan communicate directly with a wireless network, such as wirelesscarrier system 14.

Computer 18 can be one of a number of computers accessible via a privateor public network such as the Internet. Each such computer 18 can beused for one or more purposes, such as a web server accessible by thevehicle via telematics unit 30 and wireless carrier 14. Other suchaccessible computers 18 can be, for example: a service center computerwhere diagnostic information and other vehicle data can be uploaded fromthe vehicle via the telematics unit 30; a client computer used by thevehicle owner or other subscriber for such purposes as accessing orreceiving vehicle data or to setting up or configuring subscriberpreferences or controlling vehicle functions; or a third partyrepository to or from which vehicle data or other information isprovided, whether by communicating with the vehicle 12 or call center20, or both. A computer 18 can also be used for providing Internetconnectivity such as DNS services or as a network address server thatuses DHCP or other suitable protocol to assign an IP address to thevehicle 12.

Call center 20 is designed to provide the vehicle electronics 28 with anumber of different system back-end functions and, according to theexemplary embodiment shown here, generally includes one or more switches80, servers 82, databases 84, live advisors 86, as well as an automatedvoice response system (VRS) 88, all of which are known in the art. Thesevarious call center components are preferably coupled to one another viaa wired or wireless local area network 90. Switch 80, which can be aprivate branch exchange (PBX) switch, routes incoming signals so thatvoice transmissions are usually sent to either the live adviser 86 byregular phone or to the automated voice response system 88 using VoIP.The live advisor phone can also use VoIP as indicated by the broken linein FIG. 1. VoIP and other data communication through the switch 80 isimplemented via a modem (not shown) connected between the switch 80 andnetwork 90. Data transmissions are passed via the modem to server 82and/or database 84. Database 84 can store account information such assubscriber authentication information, vehicle identifiers, profilerecords, behavioral patterns, and other pertinent subscriberinformation. Data transmissions may also be conducted by wirelesssystems, such as 802.11x, GPRS, and the like. Although the illustratedembodiment has been described as it would be used in conjunction with amanned call center 20 using live advisor 86, it will be appreciated thatthe call center can instead utilize VRS 88 as an automated advisor or, acombination of VRS 88 and the live advisor 86 can be used.

The operating environment may further include one or more handheldcommunications devices (HCDs) or mobile devices 96. The mobile devicemay be an electronic device which may be used to make mobile telephonecalls across a wide geographic area where transmissions are facilitatedby the wireless carrier system 14 (i.e., when the mobile device isconnected to the wireless carrier system).

The mobile device may further include: hardware, software, and/orfirmware enabling cellular telecommunications and communications viashort-range wireless communication (e.g., Wi-Fi Direct and Bluetooth) aswell as other mobile device applications. Such mobile deviceapplications may include software applications, which may bepreinstalled or installed by the user (or mobile device manufacturer)(e.g., having a graphical user interface or GUI). One commercialimplementation of a vehicle-mobile device application may beRemoteLink™, enabling a vehicle user to communicate with the vehicle 12and/or control various aspects or functions of the vehicle—e.g., amongother things, allowing the user to remotely lock/unlock vehicle doors,turn the vehicle On/Off, check the vehicle tire pressures, fuel level,oil life, etc. RemoteLink™ may also allow the user to connect with thecall center 20 or the call center advisor 86 at any time.

The hardware of the mobile device 96 may comprise: a display, a keypad(e.g., push button and/or touch screen), a microphone, one or morespeakers, motion-detection sensors (such as accelerometers, gyroscopes,etc.), and a camera. The camera may include physical (or hard) opticsand/or electronic imaging (optics) capability. In some implementations,the camera's functionality may be utilized as a scanner or to scanimages and/or objects. This functionality may be supported by softwareor a software application within the mobile device, and this softwaremay be a computer program product that includes a non-transitorycomputer readable medium for the mobile device. One or more softwareprograms may be stored on the computer readable medium that includeprogram instructions to scan an image using the camera; furthermore, theinstructions may interpret or determine a value associated with thescanned image (such as a numeric, alphanumeric, hex, etc. value).

In addition to the aforementioned features, modern mobile devices maysupport additional services and/or functionality such as short messagingservice (SMS or texts), multimedia messaging service (MMS), email,internet access, as well as business and gaming applications.Non-limiting examples of the mobile device 96 include a cellulartelephone, a personal digital assistant (PDA), a Smart Phone, a personallaptop computer having two-way communication capabilities, a netbookcomputer, or any suitable combinations thereof. The mobile device 96 maybe used inside or outside of a mobile vehicle (such as the vehicle 12shown in FIG. 1), and may be coupled to the vehicle by wire orwirelessly (e.g., using short range wireless communication). The mobiledevice also may be configured to provide services according to asubscription agreement with a third-party facility or wireless/telephoneservice provider. It should be appreciated that various serviceproviders may utilize the wireless carrier system and that the serviceprovider of the telematics unit 30 may not necessarily be the same asthe service provider of the mobile devices 96.

The mobile device 96 and the vehicle 12 may be used together by a personknown as the vehicle user such as the driver. However, the vehicle userdoes not need to be the driver of the vehicle 12 nor does the vehicleuser need to have ownership of the mobile device 96 or the vehicle 12(e.g., the vehicle user may be an owner or a licensee of either orboth).

Method—

Turning now to FIG. 2, there is depicted a flow diagram that illustratesone exemplary embodiment of a method that utilizes the presentcommunications system. Method 200 illustrates a method of securelyproviding a mobile device with a cryptographic key in a vehicle andbegins with step 205 where a vehicle manufacturer (MFR) or vehicleservice center 98 generates a cryptographic key pair. The key pair mayinclude a first (cryptographic) key and a second (cryptographic) key. Inone embodiment, the second key may be a private key; thus, it may bedesirable to prevent non-vehicle users from acquiring or using thesecond key. Where the key pair is according to a public keyinfrastructure, the first key may be a public key; and where the keypair is according to a private key infrastructure, the first key may bea private key (and in some instances may be a shared or common key). Thefirst and/or second key may be based on a unique identifier; in someinstances, the key(s) may be a prime number and/or a randomly generatedcharacter string, number, or combination thereof (e.g., where theprobability of generating two like identifiers is unlikely). Both publicand private key infrastructure (and key generation or creation) is knownand will be appreciated by skilled artisans.

In step 210, a scannable image or mark is created based on the secondkey. This scannable image may be computer generated according to knownprograms and/or algorithms. For example, the scannable image of thesecond key may be a barcode which is scannable, readable, interpretable,etc. using the mobile device 96. The term barcode should be construedbroadly to include any barcode such as any linear (or one-dimensional)barcode, any two-dimensional barcode, or any combinations thereof(including, e.g., first, second, third, and any future generationbarcodes) (such as but not limited to: UPC, Codabar, Code 25 series,Code 39, Code 93, Code 128 series, Code 11, CPC Binary, DUN 14, EAN 2,EAN 5,EAN 8, EAN 13, GSI-128, GSI DataBar, MSI, Aztec Code, Codablock,Code 16k, Code 49, ColorCode, Color Construct Code, Compact Matrix Code,CP Code, CyberCode, DataGlyphs, Data Matrix, Datastrip Code, Dot Code A,EZcode, Grid Matrix Code, HD Barcode, High Capacity Color Barcode,HueCode, INTACTA.CODE, InterCode, JAGTAG, mCode, MiniCode, MicroPDF417,MMCC Optar, PaperDisk, PDF417, PDMark, QR Code, QuickMark Code,SmartCode, Snowflake Code, ShotCode, SPARQCode, SuperCode, Trillcode,UltraCode, UnisCode, VeriCode, VSCode, WaterCode, just to name a few).

Having created the scannable image, the scannable image may be providedto the vehicle for display [step 215]; the scannable image may be placedor located on a label 100 in the vehicle 12. The label 100 may include aphysical article or impression or a digital article. The term physicalarticle should be construed broadly to include materials such as paper,polymer, cloth, metal, or any other material that may be affixed aphysical object or component (such as the vehicle itself or a vehiclecomponent) upon which the scannable image may be printed or reproduced.The term physical impression should also be construed broadly to includephysical objects that are engraved or embossed or any similarly suitablemeans of making a physical marking. The term digital article should alsobe construed broadly to include any electronically generated imagevisible and/or detectable using the physical and/or electronic opticswithin the camera of the mobile device 96. For example, where the labelis a digital article, it may be displayed and scanned from the display38. The location of the label may include generally discrete or hiddenlocations such as within a vehicle compartment (e.g., on an innerglovebox wall or the glovebox door or within a console or overheadcompartment) or in a vehicle operation manual (e.g., on the cover orinside page of the manual).

Providing the label having the scannable image within the vehicle may bedesirable for several reasons. First, the second key is securelyprovided to the mobile device. For example, rather than providing thesecond key to the vehicle user's mobile device by wireless transmissionwhich may be susceptible to malicious spying or attack, the second keyis provided in person or directly—and presumably to a person withpermission to enter the vehicle. Typically, the in-person delivery isnot feasible since manufacturers of cellular equipment often are not thesame as those of vehicles. This overcomes that drawback. In addition,providing the scannable image is a feasibly simple and expedient way toconvey the second key at the time or moment it is desired by theuser—e.g., as soon as the user with the mobile device enters thevehicle, the user may scan the image and acquire the key.

Another reason providing the scannable image within the vehicle may bedesirable is that the second key may be more resistant to maliciousattack when it is computer generated. This is particularly true when thesecond key might be based upon a user-selected password. For example,users may select a password which is more easily determined by anattacker—e.g., shorter and simpler passwords may be decyphered using arote or systematic means. This sometimes occurs because the user wishesto be able to remember the password or easily enter it; and in thisregard, the probability is higher that longer passwords may be enteredincorrectly which may frustrate the vehicle/mobile device user. Aspreviously described with regard to the scannable image, the identifierused as the basis of the second key may be long and random and thus moredifficult for an attacker to decypher or determine. The length of thesecond key may vary; for example, in some embodiments, the length of thesecond key may be between 6 and 1000 characters (e.g., numerals,letters, symbols, etc.). In other embodiments, the maximum number ofcharacters may be used according to the type of coding; e.g., in quickresponse (QR) coding, the identifier may be up to 7089 characters inlength if the characters are limited to numerals only. If the QR codingcharacters are alphanumeric, the identifier may be up to 4296 charactersin length. Thus, in some embodiments, the second key may contain atleast 4000 characters and in other embodiments, the second key maycontain at least 7000 characters.

Turning now to FIG. 3, there is shown another flow diagram illustratinga method 300 of secure communication between the vehicle 12 and themobile device 96. The method begins at step 305 where the vehiclemanufacturer or the vehicle service center 98 generates a cryptographickey pair. As in the method 200, the key pair may include a first(cryptographic) key and a second (cryptographic) key.

At step 310, the first key may be provided by the manufacturer 98 to thetelematics unit 30 (e.g., the unit 30 storing the first key in itsmemory 54). This may occur at any time (including at the time ofinstallation or later service or maintenance). At step 315, a scannableimage may be provided within the vehicle (e.g., on the label 100 aspreviously described). Here again, the scannable image may be based onor associated with the second cryptographic key. At step 320, the mobiledevice 96 may be used to scan and receive the scannable image and thenextract the second key therefrom. Upon acquiring the second key, themobile device 96 may store the second key in its memory and thereafteruse it to sign messages between it and the vehicle 12.

At step 325, the mobile device may send or transmit a message to thevehicle, and the vehicle telematics unit 30 may receive it. The messagemay be signed using the second key and may be any communicationincluding commands to perform vehicle functions such as unlockingvehicle doors, starting the vehicle engine, and any other suitablecommand that is desirable to be performed by the user for which it maybe desirable that the communication is secure.

Then, at step 330, the telematics unit 30 may decipher or decrypt thetransmitted message using the first key. In instances where the messageis a command to perform some vehicle function, at step 335, havingauthenticated the message, the telematics unit 30 then may initiate thecommand (e.g., to unlock the vehicle doors).

It is to be understood that the foregoing is a description of one ormore embodiments of the invention. The invention is not limited to theparticular embodiment(s) disclosed herein, but rather is defined solelyby the claims below. Furthermore, the statements contained in theforegoing description relate to particular embodiments and are not to beconstrued as limitations on the scope of the invention or on thedefinition of terms used in the claims, except where a term or phrase isexpressly defined above. Various other embodiments and various changesand modifications to the disclosed embodiment(s) will become apparent tothose skilled in the art. All such other embodiments, changes, andmodifications are intended to come within the scope of the appendedclaims.

As used in this specification and claims, the terms “e.g.,” “forexample,” “for instance,” “such as,” and “like,” and the verbs“comprising,” “having,” “including,” and their other verb forms, whenused in conjunction with a listing of one or more components or otheritems, are each to be construed as open-ended, meaning that the listingis not to be considered as excluding other, additional components oritems. Other terms are to be construed using their broadest reasonablemeaning unless they are used in a context that requires a differentinterpretation.

1. A method of securely providing a mobile device with a cryptographickey in a vehicle, comprising the steps of: generating a cryptographickey pair comprising at least a first cryptographic key for use by anelectronic device in the vehicle and a second cryptographic key for useby the mobile device to control one or more vehicle functions viawireless messages sent from the mobile device to the vehicle that areencrypted using the second cryptographic key and authenticated by thevehicle using the first cryptographic key; creating a label containing ascannable image readable by a mobile device, wherein the scannable imageincludes the second cryptographic key encoded in the image such that themobile device can (i) obtain the second cryptographic key from capturingand decoding the scannable image, (ii) store the second cryptographickey, and (iii) encrypt the wireless messages using the stored secondcryptographic key; and providing the label at the vehicle for displayingthe scannable image such that it can be scanned in the mobile device atthe vehicle by a user of the mobile device.
 2. The method of claim 1,wherein the first cryptographic key is a public key and the secondcryptographic key is a private key.
 3. The method of claim 1, whereinthe scannable image includes either a linear barcode or atwo-dimensional barcode.
 4. The method of claim 1, wherein the label isa digital article and is provided at the vehicle via a visual displayinstalled in the vehicle.
 5. The method of claim 4, wherein theproviding step further comprises storing a digital representation of thelabel in memory of a vehicle module.
 6. The method of claim 1, whereinthe label is a physical article.
 7. The method of claim 1, wherein theelectronic device receives and decrypts the wireless messages from themobile device using the first cryptographic key to obtain one or morevehicle commands.
 8. The method of claim 6, wherein the vehicle isconfigured to operate according to the vehicle command(s) obtained fromthe wireless messages.
 9. The method of claim 1, wherein the electronicdevice is a telematics unit and wherein the telematics unit isconfigured to authenticate the wireless messages using the firstcryptographic key.
 10. The method of claim 9, wherein the telematicsunit decrypts the wireless messages using the first cryptographic key toobtain one or more vehicle commands.
 11. The method of claim 1, whereinthe wireless messages sent from the mobile device to the vehicle aresent using short range wireless communications.
 12. The method of claim11, wherein the short range wireless communications are establishedbetween the vehicle and the mobile device.